﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Threading.Tasks;
using System.Xml.Serialization;

namespace GxTsSharp.Models
{
    [Serializable, XmlRoot("Stock")]
    public class StockInfo
    {
        [XmlAttribute("Code")]
        public string Code { get; set; }

        [XmlAttribute("Name")]
        public string Name { get; set; }

        [XmlAttribute("Type")]
        public string Type { get; set; }

        /// <summary>
        /// 昨日收盘价格
        /// </summary>
        [XmlAttribute("PrevClose")]
        public string PrevClose { get; set; }

        [XmlAttribute("Precision")]
        public string Precision { get; set; }

        [XmlAttribute("Currency")]
        public string Currency { get; set; }


        [XmlAttribute("Vol5day")]
        public string Vol5day { get; set; }

        [XmlAttribute("Hand")]
        public string Hand { get; set; }

        [XmlAttribute("TradeHalt")]
        public string TradeHalt { get; set; }

        [XmlAttribute("Factor")]
        public string Factor { get; set; }

        [XmlAttribute("Spell")]
        public string Spell { get; set; }
    }
}
